package router

import (
	"day12_30/internal/api"
	"day12_30/internal/middleware"
	"github.com/gin-gonic/gin"
)

func PriceRouter(c *gin.RouterGroup) {
	priceRouter := c.Group("price").Use(middleware.AuthMiddleWare())
	{
		priceRouter.POST("create", api.CreatePrice)
		priceRouter.POST("find", api.FindPrice)
	}
}
